import requests
from bs4 import BeautifulSoup

url = 'https://www.lgfdcw.com/'
h = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36"
}
r = requests.get(url, headers=h)
soup= BeautifulSoup(r.content.decode(),'lxml')
r1= soup.find_all('tr',{'bgcolor':'#ffffff'})
result =[]
for e in r1:
    all_id = e.find_all('td')
    name =e.all_id[0].find('a').text
    guyu =e.all_id[1].find('a').text
    fangxing =e.all_id[2].find('a').text
